﻿@model AppNet.Models.News

@{
    ViewBag.Title = "Edit";
}

<h2> @AppNet.MultiLanguage.Translation.GetInstance.Translate("Edit")</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>News</legend>

         @Html.Partial("_CreateOrEdit", Model)

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
<script type="text/javascript" >
    $(document).ready(function () {
        $('#Content').ckeditor();
    });
</script>
    @Scripts.Render("~/bundles/jqueryval")
}
